package com.ruoyi.house_sale.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Date;

public class CustomerInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Excel(name = "客户编号")
    private long custId;
    @Excel(name = "项目名称")
    private String projectid;
    @Excel(name = "客户名称")
    private String custname;
    @Excel(name = "客户名称拼音代码")
    private String custnamecode;
    @Excel(name = "客户性质")
    private  String custtype;
    @Excel(name = "性别")
    private String sex;
    @Excel(name = "年龄阶段")
    private String age;
    @Excel(name = "主管业务员")
    private String chargeperson;
    @Excel(name = "国籍")
    private String country;
    @Excel(name = "户籍")
    private String nation;
    @Excel(name = "住址")
    private String babyaddr;
    @Excel(name = "证件名称")
    private String 	cardname;
    @Excel(name = "证件号码")
    private String cardno;
    @Excel(name = "文化程度")
    private String degree;
    @Excel(name = "客户身份类型")
    private String custVIP;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日")
    private Date birthday;
    /** 访问时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "登记时间")
    private Date signdate;
    @Excel(name = "登记地点")
    private String signaddr;
    @Excel(name = "家庭电话")
    private String familyTel;
    @Excel(name = "主要联系电话")
    private String primaryTel;
    @Excel(name = "办公联系电话")
    private String officeTel;
    @Excel(name = "联系电话")
    private String mobile;
    @Excel(name = "传真号码")
    private String fax;
    @Excel(name = "邮政编码")
    private String postcode;
    @Excel(name = "邮件")
    private String email;
    @Excel(name = "家庭住址")
    private String addr;
    @Excel(name = "业务员")
    private String saleperson;
    @Excel(name = "信息来源")
    private String activeid;
    @Excel(name = "成交概率")
    private String salePercent;
    @Excel(name = "什么阶段")
    private String chance;
    @Excel(name = "事件类型")
    private String eventtypeid;
    @Excel(name = "客户类型")
    private String custstate;

    public long getCustId() {
        return custId;
    }

    public void setCustId(long custId) {
        this.custId = custId;
    }

    public String getProjectid() {
        return projectid;
    }

    public void setProjectid(String projectid) {
        this.projectid = projectid;
    }

    public String getCustname() {
        return custname;
    }

    public void setCustname(String custname) {
        this.custname = custname;
    }

    public String getCustnamecode() {
        return custnamecode;
    }

    public void setCustnamecode(String custnamecode) {
        this.custnamecode = custnamecode;
    }

    public String getCusttype() {
        return custtype;
    }

    public void setCusttype(String custtype) {
        this.custtype = custtype;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getChargeperson() {
        return chargeperson;
    }

    public void setChargeperson(String chargeperson) {
        this.chargeperson = chargeperson;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getBabyaddr() {
        return babyaddr;
    }

    public void setBabyaddr(String babyaddr) {
        this.babyaddr = babyaddr;
    }

    public String getCardname() {
        return cardname;
    }

    public void setCardname(String cardname) {
        this.cardname = cardname;
    }

    public String getCardno() {
        return cardno;
    }

    public void setCardno(String cardno) {
        this.cardno = cardno;
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public String getCustVIp() {
        return custVIP;
    }

    public void setCustVIp(String custVIP) {
        this.custVIP= custVIP;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Date getSigndate() {
        return signdate;
    }

    public void setSigndate(Date signdate) {
        this.signdate = signdate;
    }

    public String getSignAddr() {
        return signaddr;
    }

    public void setSignAddr(String signAddr) {
        this.signaddr = signaddr;
    }

    public String getFamilyTel() {
        return familyTel;
    }

    public void setFamilyTel(String familyTel) {
        this.familyTel = familyTel;
    }

    public String getPrimaryTel() {
        return primaryTel;
    }

    public void setPrimaryTel(String primaryTel) {
        this.primaryTel = primaryTel;
    }

    public String getOfficeTel() {
        return officeTel;
    }

    public void setOfficeTel(String officeTel) {
        this.officeTel = officeTel;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getSaleperson() {
        return saleperson;
    }

    public void setSaleperson(String saleperson) {
        this.saleperson = saleperson;
    }

    public String getSalePercent() {
        return salePercent;
    }

    public void setSalePercent(String salePercent) {
        this.salePercent = salePercent;
    }

    public String getChance() {
        return chance;
    }

    public void setChance(String chance) {
        this.chance = chance;
    }

    public String getCustVIP() {
        return custVIP;
    }

    public void setCustVIP(String custVIP) {
        this.custVIP = custVIP;
    }

    public String getSignaddr() {
        return signaddr;
    }

    public void setSignaddr(String signaddr) {
        this.signaddr = signaddr;
    }

    public String getActiveid() {
        return activeid;
    }

    public void setActiveid(String activeid) {
        this.activeid = activeid;
    }

    public String getEventtypeid() {
        return eventtypeid;
    }

    public void setEventtypeid(String eventtypeid) {
        this.eventtypeid = eventtypeid;
    }

    public String getCuststate() {
        return custstate;
    }

    public void setCuststate(String custstate) {
        this.custstate = custstate;
    }

    @Override
    public String toString() {
        return "CustomerInfo{" +
                "custId=" + custId +
                ", projectid=" + projectid +
                ", custname='" + custname + '\'' +
                ", custnamecode='" + custnamecode + '\'' +
                ", custtype='" + custtype + '\'' +
                ", sex='" + sex + '\'' +
                ", age='" + age + '\'' +
                ", chargeperson='" + chargeperson + '\'' +
                ", country='" + country + '\'' +
                ", nation='" + nation + '\'' +
                ", babyaddr='" + babyaddr + '\'' +
                ", cardname='" + cardname + '\'' +
                ", cardno='" + cardno + '\'' +
                ", degree='" + degree + '\'' +
                ", custVIP='" + custVIP + '\'' +
                ", birthday='" + birthday + '\'' +
                ", signdate='" + signdate + '\'' +
                ", signaddr='" + signaddr + '\'' +
                ", familyTel='" + familyTel + '\'' +
                ", primaryTel='" + primaryTel + '\'' +
                ", officeTel='" + officeTel + '\'' +
                ", mobile='" + mobile + '\'' +
                ", fax='" + fax + '\'' +
                ", postcode='" + postcode + '\'' +
                ", email='" + email + '\'' +
                ", addr='" + addr + '\'' +
                ", saleperson='" + saleperson + '\'' +
                ", activeid=" + activeid +
                ", salePercent='" + salePercent + '\'' +
                ", chance='" + chance + '\'' +
                ", eventtypeid=" + eventtypeid +
                ", custstate=" + custstate +
                '}';
    }
}
